//
//  FPNavBarView.h
//  FilmParadise
//
//  Created by lanou3g on 15/7/13.
//  Copyright (c) 2015年 DLYgroup. All rights reserved.
//

#import <UIKit/UIKit.h>
@class FPNavBarView;
@protocol FPNavBarViewDelegate<NSObject>

- (void)navBarView:(FPNavBarView *)navBarView didClickButton:(UIButton *)button;

@end
@interface FPNavBarView : UIView
/**
 新闻按钮
 */
@property(nonatomic,strong)UIButton *newsButton;
/**
 预告片按钮
 */
@property(nonatomic,strong)UIButton *prevueButton;
/**
 排行榜按钮
 */
@property(nonatomic,strong)UIButton *topButton;
/**
 影评按钮
 */
@property(nonatomic,strong)UIButton *filmCriticButton;
/**
 按钮下的滑动线条
 */
@property(nonatomic,strong)UIView *lineView;
@property(nonatomic,assign)id<FPNavBarViewDelegate> delegate;
//重写点击事件的方法
- (void)addTarget:(id)target action:(SEL)action forControlEvents:(UIControlEvents)controlEvents;
@end
